Anthos 初體驗
前言
正文
- 每個月增加 50 美
- create new cluster ,無法更改現有(Anthos)
- 只能用workload identity
- cpu至少四個,total 要八個
- Anthos 跟 Anthos Service Mesh 不一樣
ref. Anthos 與 Anthos Service Mesh 界面差異
如果在mac上,參照文件,執行的話會出現一些錯誤。
- mac不支援此指令,
- 也不要使用cloudShell,會因為VPCSC 而出現錯誤
- 最佳解法,使用linux系統
docker run -it --rm -v "$HOME"/.config:/root/.config -v /Users/ezio_liu/Documents/kill:/data google/cloud-sdk:latest
因為有將 gcp驗證 掛載到image內,所以不用在驗證一次。
可以使用下面指令,看人員有沒有驗證
gcloud auth list
最後,使用下面指令安裝
./asmcli install \
--project_id rd7-project \
--cluster_name istio-test \
--cluster_location asia-east1-b \
--fleet_id rd7-project \
--output_dir asmcli_output \
--managed \
--ca mesh_ca
--managed 是使用 代管式anthos